package com.app.partner.mapper;

import com.app.partner.model.User;
import com.app.partner.model.enter;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface enterMapper {
    @Select("select * from part_enter where username = #{username} and password=#{password}")
    enter findall(@Param("username") String username , @Param("password") String password) throws Exception;

}
